package com.example.briandang;

import android.graphics.Bitmap;

import java.net.URI;

/**
 * Created by Brian on 10/28/2014.
 */
public class Scaling
{
    public Scaling()
    {

    }

    public static int getWidth()
    {
        return 0;
    }

    public static int getHeight()
    {
        return 0;
    }

    public static int getAspectRatio(URI image)
    {
        return 0;
    }

    public static int getMyAspectRatio()
    {
        return 0;
    }

    public static int getClosestAspectRatio(int aspectRatio)
    {
        return 0;
    }

    public static Bitmap resizeImage(Bitmap oldImage, int newWidth, int newHeight)
    {
        Bitmap resized = Bitmap.createScaledBitmap(oldImage, newWidth, newHeight, true);
        return resized;
    }
}
